package site.anxuan.seckill.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import site.anxuan.seckill.entity.SerialNumber;

@Mapper
@Repository
public interface SerialNumberDao {

    SerialNumber getByName(String name);

    int updateByName(SerialNumber serialNumber);

}
